import java.io.PushbackInputStream;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Scanner;

public class Test03 {
    /*static int[] dx = {-1 , 1 ,0 ,0};
    static int[] dy = {0,0,-1,1};
    static class StateP{
        int x , y ,time , pla;
        StateP(int x , int y ,int time ,int pla){
            this.x = x;
            this.y = y;
            this.time = time;
            this.pla = pla;
        }
    }
    public static int maxPla(int n , int T , int[][]grids){
        //BFS queue
        Queue<StateP> queue = new LinkedList<>();
        int[][][] maxPs = new int[n][n][T+1];
        for (int[][] row : maxPs) {
            for(int[] col : row){
                Arrays.fill(col , -1);
            }
        }
        //起点
        queue.add(new StateP(0,0,0,Integer.MAX_VALUE));
        maxPs[0][0][0] = Integer.MAX_VALUE;
        while (!queue.isEmpty()){
            StateP cur = queue.poll();
            int x = cur.x;
            int y = cur.y;
            int time = cur.time;
            int pla = cur.pla;
            if(time >T) continue;
            if(x == n -1 && y == n - 1) {
                maxPs[x][y][time] = Math.max(maxPs[x][y][time],pla);
                continue;
            }

            for (int i = 0; i < 4; i++) {
                int nx = x + dx[i];
                int ny = y+dy[i];
                if(nx < 0 || ny <0 ||nx >= n||ny>=n){
                    continue;
                }
                int newTime = time +1;
                if(newTime >T) continue;
                int maxAllowPla = grids[nx][ny];
                int newPlas = Math.min(pla,maxAllowPla);
                if(newPlas > maxPs[nx][ny][newTime]){
                    maxPs[nx][ny][newTime] = newPlas;
                    queue.add(new StateP(nx,ny,newTime,newPlas));
                }
            }
        }
        int res = -1;
        for (int i = 0; i <= T; i++) {
            res = Math.max(res , maxPs[n-1][n-1][i]);
        }
        return res;
    }*/
    public static void main(String[] args) {
        System.out.println(2);
    }
}
